package com.translate.web.constant;

public enum OrderStatus {  
    // 取消订单  
    CANCELLED((byte) -1, "订单已被取消"),  
    // 待报价  
    PENDING_QUOTE((byte) 0, "等待报价"),  
    // 已报价  
    QUOTED((byte) 1, "已完成报价"),  
    // 待支付  
    PENDING_PAYMENT((byte) 2, "等待支付"),  
    // 待确认  
    PENDING_CONFIRMATION((byte)3, "等待确认"),  
    // 待派稿  
    PENDING_ARTICLE_SUBMISSION((byte) 4, "等待提交稿件"),  
    // 处理中  
    PROCESSING((byte) 5, "处理中"),  
    // 已返稿  
    ARTICLE_RETURNED((byte) 6, "稿件已返回");  
  
    private final byte statusCode;  
    private final String description;  
  
    OrderStatus(byte statusCode, String description) {  
        this.statusCode = statusCode;  
        this.description = description;  
    }  
  
    public byte getStatusCode() {  
        return statusCode;  
    }  
  
    public String getDescription() {  
        return description;  
    }  
}